<?php the_tags(
	"<div class='tags'><div class='tag'>",
	"</div> <div class='tag'>",
	"</div> </div>"); 
?>
<?php
	$show_share_meta= get_option('redox_meta_share');
	if ($show_share_meta == "true") {
?>
<script>
//<![CDATA[
	jQuery(function($) {
		$(".<?php the_ID(); ?>.share").click(function () {
				$('.<?php the_ID(); ?>.meta').toggleClass("sharer");
		});
		$(".<?php the_ID(); ?>.remove_sharer").click(function () {
				$('.<?php the_ID(); ?>.meta').toggleClass("sharer");
		});
	});
//]]>
</script>
<?php
	}
?>
<div class="<?php the_ID(); ?> meta">
	<table class="meta_table" cellpadding="0" cellspacing="0">
		<tr>
			<?php
				$show_author_meta = get_option('redox_meta_author');
				if ($show_author_meta == "true") {
			?>
			<td class="part author">
				<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="Posts by <?php the_author_meta( 'display_name' ); ?>">
					<?php
						echo get_avatar( get_the_author_meta('ID'), 21 );
					?>
				</a>
			</td>
			<?php
				} 	
			?>
			<?php
				$show_date_meta = get_option('redox_meta_date');
				if ($show_date_meta == "true") {
			?>
			<td class="part time">
				<a href="<?php the_permalink(); ?>" title="Permalink">
					<?php the_time('M j'); ?>
				</a>
			</td>
			<?php
				} 	
			?>
			
			<?php wp_link_pages('before=<td class="part post-nav">Pagination:&after=</td>'); ?>
			
			<?php
				$show_comment_meta = get_option('redox_meta_commentcount');
				if ($show_comment_meta == "true") {
			?>

			<?php 
				if ( comments_open() ) : 
			?>
            <td class="part comment_count">
            	<a href="<?php the_permalink(); ?>" title="Permalink">
	            	<?php comments_number( '0 <i class="icon-chat"></i>', '1 <i class="icon-chat"></i>', '% <i class="icon-chat"></i>' ); ?>
	            </a>
            </td> 
            <?php 
            	endif; 
            ?>
            <?php
				} 	
			?>

			<?php
				if ($show_share_meta == "true") {
			?>
			<td class="part <?php the_ID(); ?> share">
				<span class="meta_link">
						Share
				</span>
			</td>
			<?php
				} 	
			?>
		</tr>
	</table>
	<?php
		if ($show_share_meta == "true") {
	?>
	<div class="share_menu">
			<div class="large_sharing share_buttons">
				<span st_url='<?php the_permalink(); ?>' st_title='<?php the_title(); ?>' st_via='' st_image='<?php the_post_thumbnail('small'); ?>' class='st_facebook_hcount' displayText='Facebook'></span>
				<span st_url='<?php the_permalink(); ?>' st_title='<?php the_title(); ?>' st_via='' st_image='<?php the_post_thumbnail('small'); ?>' class='st_twitter_hcount' displayText='Twitter'></span>
				<span st_url='<?php the_permalink(); ?>' st_title='<?php the_title(); ?>' st_via='' st_image='<?php the_post_thumbnail('small'); ?>' class='st_googleplus_hcount' displayText='Google +'></span>
			</div>
		<div class="part <?php the_ID(); ?> back remove_sharer">
			<span class="meta_link">
				Back
			</span>
		</div>
	</div>
	<?php
		}
	?>
</div>